package org.apache.struts.pharmacy.pharmacy.model;

import java.sql.Time;
import java.util.Date;

/***
 * POJO class for prescription drugs 
 * @author klanerolle@gmail.com
 *
 */
public class PrescriptionDrugs{
	private String patientId;
	private String requestId;
	private String drugId;
	private String quantity;
	private String prescribedByID;
	private String prescriptionNo;
	private String allowSubstitutes;
	private String minAmount;			//min waight of pill, min volume of the injaction, etc
	private String maxAmount;			//max  waight of pill, min volume of the injaction, etc
	private String amountUnits;			//units, mg,ml,etc
	private String dosage;				// give this no of pills, injections 
	private Date requestDate;
	private Time requestTime;
	
	public PrescriptionDrugs(){
		
	}	
	
	public String getPatientId(){
		return patientId;
	}
	
	public void setPatientId(String pid){
		patientId = pid;
	}
	
	public String getRequestId(){
		return requestId;
	}
	
	public void setRequestId(String rid){
		requestId = rid;
	}
	
	public String getDrugId(){
		return drugId;
	}
	
	public void setDrugId(String did){
		drugId = did;
	}
	
	public String getQuantity(){
		return quantity;
	}
	
	public void setQuantity(String qunt){
		quantity = qunt;
	}
	
	public Date getRequestDate(){
		return requestDate;
	}
	
	public void setRequestDate(Date rdate){
		requestDate = rdate;
	}
	
	public Time getRequestTime(){
		return requestTime;
	}
	
	public void setRequestTime(Time rtime){
		requestTime = rtime;
	}
	
	public String getMaxAmount(){
		return maxAmount;
	}
	
	public void setMaxAmount(String maxamount){
		maxAmount = maxamount;
	}
	
	public String getMinAmount(){
		return minAmount;
	}
	
	public void setMinAmount(String minamount){
		minAmount = minamount;
	}
	
	public String getAmountUnits(){
		return amountUnits;
	}
		
	public void setAmountUnits(String units){
		amountUnits = units;
	}
	
	public String getPrescribedByID(){
		return prescribedByID;
	}
	
	public void setPrescribedByID(String id){
		prescribedByID = id;
	}
	
	public String getDosage(){
		return dosage;
	}
	
	public void setDosage(String dose){
		dosage = dose;
	}
	
	public String getAllowSubstitutes(){
		return allowSubstitutes;
	}
	
	public void setAllowSubstitutes(String subs){
		allowSubstitutes = subs;
	}
	
	public String getPrescriptionNo(){
		return prescriptionNo;
	}
	
	public void setPrescriptionNo(String pno){
		prescriptionNo = pno;
	}
}
